package com.whz.workmanageol.vo;

import java.io.File;

/**
 * 发布作业时上传的附件存储文件路径名称
 * 生成和学生上交的作业存储文件路径名称
 * /teacherid/gradeid/courseid/seq
 */
public class FilePath {
    private String teacherid;
    private String gradeid;
    private String courseid;
    private String seq;

    public FilePath(String teacherid, String gradeid, String courseid, String seq) {
        this.teacherid = teacherid;
        this.gradeid = gradeid;
        this.courseid = courseid;
        this.seq = seq;
    }

    public String getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(String teacherid) {
        this.teacherid = teacherid;
    }

    public String getGradeid() {
        return gradeid;
    }

    public void setGradeid(String gradeid) {
        this.gradeid = gradeid;
    }

    public String getCourseid() {
        return courseid;
    }

    public void setCourseid(String courseid) {
        this.courseid = courseid;
    }

    public String getSeq() {
        return seq;
    }

    public void setSeq(String seq) {
        this.seq = seq;
    }

    @Override
    public String toString() {
        return File.separator + teacherid + File.separator + gradeid + File.separator + courseid + File.separator +seq + File.separator;
    }
}
